
{% extends "layout.html" %} 
{% load static %}

{% block content %}
  <form class="layui-form" method="post" autocomplete="off">
    {% csrf_token %}
    <div class="layui-form-item">
      <label class="layui-form-label">部门名称</label>
      <div class="layui-input-block">
        <input type="text" name="depart_name" value="{{row_obj.title}}" lay-verify="required" placeholder="请输入部门名称" autocomplete="off" class="layui-input"  lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-input-block">
        <button type="submit" class="layui-btn" lay-submit lay-filter="demo1">立即创建</button>
        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
      </div>
    </div>
  </form>
{% endblock %}
{% block js %}
  <script src="{% static 'plugins/jquery/3.7.1/jquery.min.js' %}"></script>
{% endblock %}
